package com.xzy.service;

import com.xzy.custom.Page;
import com.xzy.entities.SysRole;
import com.xzy.web.form.SysRoleForm;

import java.util.List;

/**
 * TODO
 *
 * @author XiangZhongyi
 * ClassName: 权限管理业务逻辑接口
 * date: 2021/9/20 19:56
 */
public interface SysRoleService {

    Integer findAllUserTypeCount(Page page,String name);

    List<SysRole> findAllUserType(Page page,String name);

    SysRole findById(Integer id);

    void updateById(SysRoleForm form);

    void insertType(SysRoleForm form);

    void deleteById(int parseInt);

    List<SysRole> findAllUserType1();

    SysRole findByRole();

    List<SysRole> findByUserId(Integer id);
}
